package interfaces.ltu;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;

public class NearestButtonActivity extends Activity{

	private int arrow_icon;

	/** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.nearestbuttonmain);
       
        ImageButton returnImageButton = (ImageButton)this.findViewById(R.id.imageBtn);
        
        returnImageButton.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent intent = new Intent();
                setResult(RESULT_OK, intent);
                finish();
            }

        });
        
        Button next = (Button) findViewById(R.id.back2);
        next.setOnClickListener(new View.OnClickListener() {
          
            	
        		public void onClick(View view) {
        			 Intent myIntent = new Intent(view.getContext(), ShowMeOnMappActivity.class);
                     startActivityForResult(myIntent, 0);
        		}

        });
}
    }
